#container {
    width: 100%;
    position: relative;
    /* 
        column-count: 5;
        column-gap: 10px; 
    */
}

#container div {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    box-sizing: border-box;
    border: 1px solid #f8f8f8;
    box-shadow: 1px 2px 1px #eeeeee;
}

#container div img {
    max-width: 100%;
    border-radius: 5px;
    transition: 0.3s;
    cursor: zoom-in;
}

#container div img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

#preview {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

#preview img {
    max-width: 80%;
    max-height: 80%;
}

#params {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding-left: 15px;
    background-color: #ffffff;
}

#params input {
    color: #000;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #eeeeee;
    background-color: transparent;
}

#params span {
    cursor: pointer;
}